﻿using Abp.Domain.Entities.Auditing;
using System;
using JetBrains.Annotations;

namespace Camc.Quality.Quality
{
    public class WorkStepEntity : FullAuditedEntity<Guid>
    {
        public Guid TechniqueEntityId { get; set; }
        public Guid ProcessesEntityId { get; set; }
        /// <summary>
        /// 原PPS工步ID
        /// </summary>
        public string OriginalWorkStepEntityId { get; set; }
        /// <summary>
        /// 工步序号
        /// </summary>
        public int WorkStepNumber { get; set; }
        /// <summary>
        /// 工步名称
        /// </summary>
        public string WorkStepName { get; set; }
        /// <summary>
        /// 工步内容
        /// </summary>
        public string WorkStepContent { get; set; }

        /// <summary>
        /// 工步工时
        /// </summary>
        public decimal WorkStepWorking { get; set; }

        #region 工艺路线
        /// <summary>
        /// 前端所需坐标
        /// </summary>
        public string Loc { get; set; }

        /// <summary>
        /// 详情
        /// </summary>
        public string Details { get; set; }

        /// <summary>
        /// 形状
        /// </summary>
        public string Figure { get; set; }

        /// <summary>
        /// 字体和边框颜色
        /// </summary>
        public string Color { get; set; }
        /// <summary>
        /// 大小
        /// </summary>
        public int Size { get; set; }

        /// <summary>
        ///   底色
        /// </summary>
        public string Fill { get; set; }
        #endregion
        /// <summary>
        /// 详情
        /// </summary>
        public string WorkDetails { get; set; }

        [CanBeNull]
        /// <summary>
        /// 配套状况
        /// </summary>
        public AssortStatus AssortState { get; set; }
        [CanBeNull]
        /// <summary>
        /// 出库状态
        /// </summary>
        public OutboundStatus OutboundState { get; set; }
        /// <summary>
        /// 工步性质
        /// </summary>
        public string WorkStepCharacteristic { get; set; }

    }
}
